package com.zhang.common.core.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper=true)
public class BaseException extends RuntimeException {
    private int code;

    public BaseException(String message, int code) {
        super(message);
        this.code = code;
    }
}
